package com.ming.sevice;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ming.domain.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.vo.NoticeVo;

import java.util.List;

/**
*@Author:何元才
*@Desc:
*@data:2021-04-02 15:48
*/
public interface NoticeService extends IService<Notice>{

    /**
     * 分页查询公告
     * @param page
     * @param notice
     * @return
     */
    Page<Notice> findNoticePage(Page<Notice> page, Notice notice);

    /**
     * 查询前台公告列表
     *
     * @return
     */
    List<NoticeVo> loadFrontNotice();
}
